Websydian v6.1 online documentationOnline documentation - WebsydianExpress v3.5

API: AuthorizedEvent.RemoveRole

Scoped Name

APIServer.AuthorizedEvents.RemoveRole

Interface

Field Variable ...as Description
AuthorizedEventSurrogate Input Input Uniquely identifies the authorized event you want to remove the role from.

Mandatory.

RoleSurrogate Input Input Uniquely identifies the role you want to remove.

Mandatory

Description

This API removes the role from the specified authorized event.

This means that the role no longer authorizes the specified event.

If you do not have the unique identifications, you can obtain the AuthorizedEventSurrogate by calling AuthorizedEvent.GetEventBySiteName and the RoleSurrogate by calling Role.GetByName.

Events

WSE0100 - Role not found

WSE0256 - Authorized event not found

Universal events